package dto;

public class Login { 
	
	
	private static Login login = null;
	
	private Login(){
		
	}
	
	public static void instanciar(){
		
		if(login==null){
			login = new Login();	
		}
	}
	
	public static boolean isLogado(){
		
		if(login==null){
			return false;	
		}else{
			return true;
		}
	}
	
	public static void efetuarLogout(){
		login = null;
	}

}
